-- Decompiled with the Synapse X Luau decompiler.
--类实例管理器

local l__CommonOHOH__1 = _G.CommonOHOH;
local v2 = l__CommonOHOH__1.load.InstanceManager();
local v3 = l__CommonOHOH__1.class.new(script);
local l__assert__1 = assert;
local u2 = {};
local u3 = {};
function v3.AddObject(p1, p2)
	l__assert__1(p2, "param obj is nil");
	l__assert__1(p2.class, "param obj is not a base object");
	if not u2[p2] then
		u2[p2] = true;
		local l__class__4 = p2.class;
		u3[l__class__4] = u3[l__class__4] or {};
		u3[l__class__4][p2] = true;
	end;
end;
function v3.DelObject(p3, p4)
	l__assert__1(p4, "param obj is nil");
	l__assert__1(p4.class, "param obj is not a base object");
	u2[p4] = nil;
	local l__class__5 = p4.class;
	if u3[l__class__5] then
		u3[l__class__5][p4] = nil;
	end;
end;
function v3.IsObjectExsit(p5, p6)
	l__assert__1(p6, "param obj is nil");
	return u2[p6];
end;
function v3.GetListWithClass(p7, p8)
	l__assert__1(p8, "param class is nil");
	return u3[p8] or {};
end;
return v3;
